<?php
// define('FPS_DB_URL', 'mongodb://127.0.0.1:10004');
define('FPS_DB_URL', 'mongodb://192.168.10.250:27017');
define('FPS_DB_NAME', 'sunteng_webook');
define('FPS_SESSION_NAME', 'WEBOOKID');
define('FPS_USER_SERVER_TOKEN', 'fps_server_token');

define('APP_TABLE_USER', 'User');
define('FPS_USER_TABLE', APP_TABLE_USER);

define('APP_TABLE_CATA', 'CataLog');

define('APP_TABLE_BOOKS', 'Books');

define('APP_PRIVATE_BITS', 2048);

// system config
$GLOBALS['FPS_CONFIG'] = array(
	'SITE_LANG_TEXT' => array(
		'SITE_NAME' => 'Sunteng Webook',
		'SITE_LOGO' => 'imgs/logo/header.png',
	),
	'upload_data_root' => PROJECT_ROOT . '/data/upload',
	'upload_data_url' => '/data/upload',
	'upload_ext_names' => array('.jpg', '.jpeg', '.gif', '.png'),
);
